<h1 style="font-size: 20px; color:#2E5268;padding:6px 0;border-bottom: 1px solid #2E5268">Новые сообщения на форуме</h1>

<?foreach ($this->topics as $topic):?>

    <p  style="font-size: 18px; color:#0f6ea9;"><strong><a style="color: #0f6ea9" href="<?=$modx->config['site_url']?>forum/topic/<?=$topic->id?>#last">Тема: <?=$topic->name?></a></strong></p>

    <?foreach ($topic->posts as $row):?>
        <blockquote><strong><?=$row->user->fullname?></strong><br/><?=$this->auto_convert($row->message)?><br/>
        <span style="color:gray;font-size:11px;">Создано: <?=mb_strtolower(strftime("%d %b %Y в %H:%M",$row->createdon))?></span></blockquote>
    <?endforeach;?>
    <br/>
<?endforeach;?>




